<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

    <!-- navigator: 浏览器对象的一些信息 -->
    <script>
        // navigator.appName
        console.log(navigator.appName);
        document.writeln('<br/>');

        document.write(navigator.appName);
        document.writeln('<br/>');

        document.write(navigator.appVersion);
        document.writeln('<br/>');

        document.write(navigator.appCodeName);
        document.writeln('<br/>');

        document.write(navigator.userAgent);
        document.writeln('<br/>');

        document.write(navigator.platform);
        document.writeln('<br/>');

        // console.log(JSON.stringify(navigator, null, 2));
    </script>

</body>

</html>